package com.calvin.springcloud.model.user;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

@NoArgsConstructor
@AllArgsConstructor
@Data
@Accessors(chain = true)//开启链式写法 	User user = new User(); user.setUserId(1l).setMobile("15827332920");
@ToString
public class User implements Serializable {

	private static final long serialVersionUID = -4202551183376832451L;

	private Long userId;

	private String userName;

	private Short sex;

	private String mobile;

}
